package com.example.spring.security.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.spring.security.pojo.UserPojo;

/**
 *
 * 用户数据访问层
 * @since: 1.0.0
 * @Author:hezeyu
 * @Date: 2021/4/27 15:48
 */
public interface UserInfoMapper extends BaseMapper<UserPojo> {

    /**
     *
     * 根据账号名称查询用户信息
     * @param login 账号名
     * @return:com.example.spring.security.spring.pojo.UserPojo
     * @since: 1.0.0
     * @Author:hezeyu
     * @Date: 2021/4/27 15:49
     */
    UserPojo findOneByLogin(String login);

    /**
     * 查询所有用户信息
     * @param
     * @return:com.example.spring.security.spring.pojo.UserPojo
     * @since: 1.0.0
     * @Author:hezeyu
     * @Date: 2021/4/27 15:50
     */
    UserPojo selecr();

}